package com.itheima.dao;

import com.itheima.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {
    List<Menu> findMenuByRole(@Param("keyword") String keyword, @Param("level") Integer level);

    List<Menu> findMenuByParentMenuId(@Param("keyword") String keyword,@Param("parentMenuId") Integer id);
}
